.class final Lcom/ninesky/browser/bl;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# instance fields
.field private synthetic a:Lcom/ninesky/browser/BrowserActivity;

.field private final synthetic b:Landroid/view/View;

.field private final synthetic c:Ljava/lang/String;

.field private final synthetic d:Ljava/lang/String;

.field private final synthetic e:Landroid/webkit/HttpAuthHandler;


# direct methods
.method constructor <init>(Lcom/ninesky/browser/BrowserActivity;Landroid/view/View;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/HttpAuthHandler;)V
    .locals 0

    iput-object p1, p0, Lcom/ninesky/browser/bl;->a:Lcom/ninesky/browser/BrowserActivity;

    iput-object p2, p0, Lcom/ninesky/browser/bl;->b:Landroid/view/View;

    iput-object p3, p0, Lcom/ninesky/browser/bl;->c:Ljava/lang/String;

    iput-object p4, p0, Lcom/ninesky/browser/bl;->d:Ljava/lang/String;

    iput-object p5, p0, Lcom/ninesky/browser/bl;->e:Landroid/webkit/HttpAuthHandler;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/content/DialogInterface;I)V
    .locals 4

    iget-object v0, p0, Lcom/ninesky/browser/bl;->b:Landroid/view/View;

    const v1, 0x7f0c002d

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    iget-object v0, p0, Lcom/ninesky/browser/bl;->b:Landroid/view/View;

    const v2, 0x7f0c002f

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v2, p0, Lcom/ninesky/browser/bl;->c:Ljava/lang/String;

    iget-object v3, p0, Lcom/ninesky/browser/bl;->d:Ljava/lang/String;

    invoke-static {v2, v3, v1, v0}, Lcom/ninesky/browser/BrowserActivity;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    iget-object v2, p0, Lcom/ninesky/browser/bl;->e:Landroid/webkit/HttpAuthHandler;

    invoke-virtual {v2, v1, v0}, Landroid/webkit/HttpAuthHandler;->proceed(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/ninesky/browser/bl;->a:Lcom/ninesky/browser/BrowserActivity;

    invoke-static {v0}, Lcom/ninesky/browser/BrowserActivity;->d(Lcom/ninesky/browser/BrowserActivity;)V

    iget-object v0, p0, Lcom/ninesky/browser/bl;->a:Lcom/ninesky/browser/BrowserActivity;

    invoke-static {v0}, Lcom/ninesky/browser/BrowserActivity;->e(Lcom/ninesky/browser/BrowserActivity;)V

    return-void
.end method
